package com.cloud.adrian.novel.common.constant;

/**
 * 系统配置相关常量
 * @Author: xiangguiliang
 * @version: 1.0
 * @since: 2024/05/14
 */
public class SystemConfigConstants {
    private SystemConfigConstants() {
        throw new IllegalStateException(CONSTANT_INSTANCE_EXCEPTION_MSG);
    }

    /**
     * http 请求认证 header
     */
    public static final String HTTP_AUTH_HEADER_NAME = "Authorization";

    /**
     * 前台门户系统标识
     */
    public static final String NOVEL_FRONT_KEY = "front";

    /**
     * 作家管理系统标识
     */
    public static final String NOVEL_AUTHOR_KEY = "author";

    /**
     * 后台管理系统标识
     */
    public static final String NOVEL_ADMIN_KEY = "admin";

    /**
     * 图片上传目录
     */
    public static final String IMAGE_UPLOAD_DIR = "/image/";

    /**
     * 常量类实例化异常信息
     */
    public static final String CONSTANT_INSTANCE_EXCEPTION_MSG = "Constant class";
}
